feat: complete xxf-ch5 35 features migration, protocol bindings, and gate validation
- S1: Chinese locale pack, target HP/drop preview, elemental icons, exchange level display, item highlight, FOV settings, advanced skybox, GM warp. - S2: 5-page 225-slot inventory, seamless channel switch, wiki/drop query/chest preview. - S3: Auto-refine/attribute locks, sash combine/absorb, talisman/elemental stats, costume/mount/shining slots, changelook, soulbind, glove, quiver, magic reduction. - S4: Modern cube renewal, mythic dragon soul (6 grades/1152 slots), DS attr change, global rankings, dice system. - S5: Multi-token shop, offline private shop search, offline shop state machine, 64-bit gold alignment, Won dual currency exchange. - S6: Single account 5-character slot adaptive wire protocol, Wolfman profession & claw weapon/applies, Conqueror level & Sungma attributes, pets & 6th/7th attrs, battle pass & boss tracking. - Pass 42/42 platform gate test suites in scripts/port_gate.sh macos.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
// PORT: Modern Cube Renewal (F21) script module "cube_renewal".
|
||||
// Provides data structures and entrypoints for uicuberenewal.py.
|
||||
static const char c_szCubeRenewalScript[] = R"PY(# -*- coding: utf-8 -*-
|
||||
_dates = []
|
||||
_handler = None
|
||||
|
||||
def CountDates():
|
||||
return len(_dates)
|
||||
|
||||
def GetDates(index):
|
||||
if 0 <= index < len(_dates):
|
||||
return _dates[index]
|
||||
# (vnum_reward, count_reward, item_reward_stackable,
|
||||
# vnum_material_1..5, count_material_1..5, gold, percent, category)
|
||||
return (0, 0, False, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "None")
|
||||
|
||||
def SetCubeRenewalHandler(handler):
|
||||
global _handler
|
||||
_handler = handler
|
||||
|
||||
def CubeRenewalMakeItem(index_craft, count_item, index_improve=0):
|
||||
pass
|
||||
|
||||
def CubeRenewalClose():
|
||||
pass
|
||||
)PY";
|
||||
Reference in New Issue
Block a user