I haven't finished my new website yet, so for now you get a 1990's style looking thing.
Index page
Welcome to the ARCBank code documentation! This is list of functions and objects that you can use to create things compatible with ARCBank! Please note that this was written for ARCBank 1.4, you should call ARCLib.IsVersion("1.4.0","ARCBank") to see if the functionality described here is available.
ARCBank obviously has more functions than the ones described here, but those "hidden" functions are for internal use.
Hooks
- nil ARCBank_OnTransaction(transaction_type, account1, account2, user1, user2, moneydiff, money, comment) (Server)
- nil ARCBank_OnHackBegin(player_hacker, sent_arc_atmhack, atmhack_victim_entity, hack_amount, hack_random) (Server)
- nil ARCBank_OnHackEnd(player_hacker, sent_arc_atmhack) (Server)
- nil ARCBank_OnHackBroken(player_hacker, sent_arc_atmhack, player_hero) (Server)
- nil ARCBank_OnHackSuccess(player_hacker, sent_arc_atmhack, atmhack_victim_entity) (Server)
Functions
- nil ARCBank.GetAccountProperties(authent, account, function(errorcode, account_properties) end) (Shared)
- nil ARCBank.GetBalance(authent, account, function(errorcode, money) end) (Shared)
- nil ARCBank.CanAfford(authent, account, money, function(errorcode) end) (Server) 1.4.1+
- nil ARCBank.GroupGetPlayers(authent, account, function(errorcode, group_members) end) (Shared)
- nil ARCBank.Transfer(authent, otherply, account, otheraccount, moneydiff, comment, function(errorcode) end) (Shared)
- nil ARCBank.GetLog(authent, account, timestamp, transaction_type, function(errorcode, progress, transaction_log) end) (Shared)
- nil ARCBank.AddFromWallet(authent, account, moneydiff, comment, function(errorcode) end) (Shared)
- nil ARCBank.CreateAccount(authent, account_name, account_rank, function(errorcode) end) (Shared)
- nil ARCBank.UpgradeAccount(authent, account, function(errorcode) end) (Shared)
- nil ARCBank.DowngradeAccount(authent, account, function(errorcode) end) (Shared)
- nil ARCBank.RemoveAccount(authent, account, comment, function(errorcode) end) (Shared)
- nil ARCBank.GroupAddPlayer(authent, account, otherply, comment, function(errorcode) end) (Shared)
- nil ARCBank.GroupRemovePlayer(authent, account, otherply, comment, function(errorcode) end) (Shared)
- nil ARCBank.GetAccessableAccounts(ply, function(errorcode, account_list) end) (Shared)
- nil ARCBank.AddMoney(ply, account, moneydiff, transaction_type, comment, function(errorcode) end) (Server)
- nil ARCBank.GetAccountName(account1, function(errorcode, account_name) end) (Shared)
- user1 ARCBank.GetPlayerID(player) (Shared)
- player ARCBank.GetPlayerByID(user1) (Shared)
- nil ARCBank.GetGroupAccounts(ply, function(errorcode, account_list) end) (Server)
- nil ARCBank.GetOwnedAccounts(ply, function(errorcode, account_list) end) (Server)
- nil sent_arc_atm:Reboot(reboot_time) (Server)
- nil sent_arc_atmhack:HackStop() (Server)
- nil sent_arc_atmhack:Break(player_hero) (Server)